package com.github.lianyutian.demo;

public class PhoneDemo {
    public static void main(String[] args) {
        Phone telPhone = new TelPhone();
        telPhone.call();

        DecoratorPhone decoratorPhone = new DecoratorPhone(telPhone);
        decoratorPhone.call();

        decoratorPhone.sendMessage();
    }
}
